function Menu()
{
	throw "Static Class";
}

Menu.items = [
	'actions',
	'streams',
	'views',
	'macros',
	'export'
	];

Menu.render = function ()
{
	var menu = $('#menu');
	
	jQuery.each(Menu.items, function ()
	{
		var name = this.upperCaseFirst();
		
		menu.append(
			'<a href="www/' + this + '.html" rel="facebox" class="clickable" id="open' + name + '">' + name + '</a>');
	});
	
	$('a[rel*=facebox]').facebox().bind(
		'mouseenter',
		function () { $(this).click(); });
	
}

$(function ()
{
	Menu.render();
});
